<?php

class BaseModel {
	protected $_db;
	function __construct(){
		$this->registry=Pf_Registry::getInstance();
		require_once($this->registry['dbfunction_addr']);
		require_once('database.class.php');
		$this->_db = new Database($this->registry['dbfunction']);
	}
}

?>